System and method for compilation of quickbooks accounts data

ABSTRACT

Embodiments include a method of aggregating data from a plurality of QuickBooks (QB) files that may be in physically separate locations, and having at least one account name in common. In one embodiment, the method includes, assigning a different parent account identification (ID) number to each differently named parent account. The method includes creating an entry in a hash table for each parent account ID, the contents of the entry being a collection of rows including a row for each different sub account of the parent account, wherein data for multiple instances of like named parent accounts are aggregated, the key of the entry in the hash table being the parent account ID.

FIELD

This written description is in the field of QuickBooks (QB) data processing.

BRIEF DESCRIPTION OF THE DRAWINGS

Aspects of embodiments will become apparent upon reading the following detailed description and upon reference to the accompanying drawings in which like references may indicate similar elements:

FIG. 1A depicts an expense table for a first company A;

FIG. 1B depicts an expense table for a second company B;

FIG. 1C depicts an expense table that aggregates the expense data from company A and company B;

FIG. 2A depicts a network and server for aggregating QB data from computers of companies and sub companies.

FIG. 2B depicts a flow chart for setting up QB relationships;

FIG. 3 depicts a collection of the data from companies A and B obtained from using Structure Query Language (SQL);

FIG. 4 depicts a table of parent accounts;

FIG. 5 depicts a collection of rows in a hash table for each parent account and each sub accounts and each sub sub account for the data from companies A and B;

FIG. 6 depicts a flow chart for assigning IDs and creating hash tables; and

FIG. 7 depicts a flow chart for identifying and aggregating data of like-named accounts.

DETAILED DESCRIPTION

The following is a detailed description of embodiments depicted in the accompanying drawings. The amount of detail offered is not intended to limit the anticipated variations of embodiments; but, on the contrary, the intention is to cover modifications, equivalents, and alternatives falling within the scope of the appended claims. The detailed descriptions below are designed to make such embodiments obvious to a person of ordinary skill in the art.

Embodiments include a method of aggregating data from a plurality of QuickBooks (QB) files that may be in physically separate locations, and having at least one account name in common. In one embodiment, the method includes, assigning a different parent account identification (ID) number to each differently named parent account. The method includes creating an entry in a hash table for each parent account ID, the contents of the entry being a collection of rows including a row for each different sub account of the parent account, wherein data for multiple instances of like named parent accounts are aggregated, the key of the entry in the hash table being the parent account ID.

Another embodiment is a QuickBooks (QB) data aggregation system having a web server connected to a network of computers having QB files stored in a database format at each computer. The server has a memory to store data obtained from the QB files of the network of computers. The web server also has a processor configured to identify like-named parent accounts in the QB files. For each like-named parent account, the processor is configured to aggregate the data of like-named sub accounts of the parent account from each computer. The processor is further configured to store the aggregated data in a hash table. Each entry in the hash table corresponds to data of a different-named sub account, each hash table entry having a collection of rows, a row for each sub account of the parent account, and having columns of data associated with each sub account.

Another embodiment is a tangible storage medium having instructions that when executed by a computer cause the computer to aggregate data of a plurality of QuickBooks (QB) files. The instructions cause the computer to obtain QB data from each of a plurality of computers in a network, the data being organized into one or more parent accounts. The instructions further cause the computer to aggregate the data from like-named sub accounts for each parent account. The instructions further cause the computer to form a collection in a hash table for each differently-named parent account, an entry including aggregate data of like-named sub accounts associated with the parent account name.

Small businesses and accountants need visibility and usability of financial and operational data from remote locations. QuickBooks™ (QB) by Intuit™ currently owns roughly 87% of the small business accounting software installed at computers of companies distributed geographically. However, the QuickBooks software does not allow for aggregation and consolidation of disparate files. Only their Enterprise™ solution supports this. However, the Enterprise solution involves difficult processes and only applies to Enterprise-formatted company files. Most QuickBooks users do not run Enterprise due to a lack of need for the features it provides and because of its high cost. If a company has multiple QuickBooks files with users needing to access data contained in more than one QB file, one option is to open each QB file, export a large number of reports to Microsoft™ Excel™ and then map the account names of each QB file, combine the data, create custom analytics to measure results, create charts and graphs for better understanding and transmit the results to users. This process is extremely manually intensive and in many cases prohibitive due to the large number of QB files that may exist. For instance, a franchise might have 50, 200 or even 30,000 QB files in its network of businesses located across the globe.

Further complicating the process is the fact that versions of QB are not backward compatible. For example, if a user runs QB 2008 Premier™, then opening a file in a later version of QB will convert the file to the later version and the file can then not be opened using the earlier version of QB.

FIG. 1A shows a table of expenses for a company A. There is a row for each parent account: Hotel, Restaurants, and Transportation. For each parent account there is a row for each sub account of the parent account. For example, the parent account, Hotel, has two sub accounts: Hyatt and Motel 6. In this example, the sub account, Motel 6, has two sub sub accounts: Dallas and Houston. Also, the table of FIG. 1A shows five columns containing the corresponding data associated with each sub account and each sub sub account. Although only a few parent accounts, sub accounts, and sub sub accounts are shown, more or less of these accounts may be given for a company QB file. Further, some company files may have sub sub sub accounts, or even deeper levels of sub accounts.

FIG. 1B shows a table of expenses for a company B. The structure of the table is similar as for company A. That is, company B has the same parent accounts and mostly the same sub accounts and sub sub accounts as has company A. However, the amounts in the columns of company B are different from the amounts in the columns of Company A.

Embodiments disclosed herein may aggregate the data of company A and company B as shown in FIG. 1C. The structure of the aggregate table shown in FIG. 1C has the same structure as the structure of the table of FIG. 1A and the table of FIG. 1B. However, the amount in a particular row and column of the table of FIG. 1C is the sum of the amounts in the corresponding row and column of FIG. 1A and FIG. 1B. The manner in which this aggregation is achieved is described below.

FIG. 2A depicts a network and server for aggregating QB data from computers of companies and sub companies. The elements of the network may be connected by a local area network or a wide area network such as the Internet. A virtual or real central location 102, or a distributed network of locations, may be created to operate, and supervise the use of, the processing mechanisms described herein. The central location 102 has access to the QB files of a plurality of companies 120, 140, 160, and the affiliate or child companies of these companies 142, 144, 162, and 164.

Thus, for example, the central location may be at an accounting firm with a great number of client companies, each company having at least one QB file. The company 120, for example, may be a florist shop. The parent business 140 may be a mobile phone store with a south store 142 and a north store 144, where the north and south stores may be located at different locations within a city or state. The parent business 160 may be a law firm with its principal office in New York, and with offices in Chicago, 162, and in Atlanta, 164.

Note that in the case of related businesses 140, 142, and 144, each business' respective QB file is located at the same location as the business. In contrast, in the case of the related businesses 160, 162, and 164, each business' respective QB file is located at a central location at business site 160. Note also, that the QB files of business 120 are located offsite. Virtually any business, having virtually any complex relationships of its sub businesses, may use separate instances of QB at the respective locations of the businesses and sub businesses.

In one embodiment, the central location 102 may access the QB files from these businesses and sub businesses and store them in a database of QB files 104. A contributor 106 may have access to the system only to the extent necessary to maintain the system. A network administrator 108 may set passwords, control access to the system, and perform other administrative functions. For example, the network administrator 108 may grant viewing access to a client viewer 110, enabling the viewer 110 to view aggregated QB data. To enable access to the data, a graphical user interface and a keyboard and a mouse may be provided, as is known in the art.

In one embodiment, QB data is obtained from the plurality of companies, 120, 140, 142, 144, 160, 162, and 164, by at least one server 1000 via a QB synchronization application 1002. The server 1000 may be located at any location connected to the network. In particular, the server 1000 may be located at the central location 102 or at a separate location. The QB synch application 1002 may be downloaded over the network to the business locations where the QB files are located. Thus, for example, the QB synch application 1002 may be downloaded to locations 104, 140 142, 144, and 160, as well as to the central location 102. The synchronization application 1002 may reside at the local QB file locations 104, 140 142, 144, and 160, and may operate to upload transactional data from the QB files at the locations 104, 140 142, 144, and 160. The upload of transactional data may be scheduled by an administrator to occur as often as desired, for example, daily, or the upload can occur upon entry of a command by the administrator.

FIG. 2B depicts a flow chart for setting up QB relationships for uploading QB files to a central location and aggregating data from a plurality of QB files of client companies and sub companies. First, an administrator of accounts will set up an account and company profile, at 202. Then, the administrator may create a parent business or client account, at 204. Once a parent client is created, the administrator may create sub businesses or sub clients of the parent client, at 206.

The administrator may then authorize certain contributors to have access to the system, at 208. An authorized contributor may install a QB synchronization application at a local computer, at 210. The QB synchronization application interfaces with the local QB files of transaction data, and transmits the data from such files to the central location. Once synchronization takes place, authorized viewers may compile and review business reports that reflect data aggregated from QB files of different locations and companies, at 212.

FIG. 3 shows a table of data acquired from the files of data for company A shown in FIG. 1A and for company B as shown in FIG. 1B, using Structured Query Language (SQL). Acquiring data using SQL is time consuming and complex SQL commands are required to acquire the desired data in a desired form.

FIG. 4 depicts a table of parent accounts extracted from the data associated with company A and company B. A list of parent accounts from the different QB files is acquired using, for example, an SQL command or command in C, C++, or C# or other known programming language. Each parent account is associated with an account identification (ID). As will be discussed above, an account ID serves as a key to a hash table.

FIG. 5 depicts a collection of hash tables and their collection of sub accounts, each key in the hash table is an account ID for the data from companies A and B. Each hash table entry corresponds to a different parent account or sub account. For example, referring to FIG. 4, a first parent account named hotel is from company A and has an account ID of 1. A second parent account named hotel is from company B and has an account ID of 2. Thus, like-named parent accounts are initially assigned different account IDs. In FIG. 5, the collection for account ID 1 (key=1) has a row for each of the two sub accounts of the parent account, Hotel, of company A. Each sub account of this table is assigned a unique account ID. The collection for account ID 2 (key=2) has a row for each of the two sub accounts of the parent account, Hotel, of company B. Each sub account of this collection is assigned a unique account ID.

Further, an entry in the hash table is created for each sub account's sub accounts. The key of a sub account's collection of sub accounts is the account ID of the sub account, as shown in the table of key=1 and the table of key=2. For example, the table of key=5 is the table of the sub account named Motel 6 from the table of key=1. The entry of key=5 has a row for each sub sub account (Dallas and Houston) of the sub account named Motel 6 of account ID=5. The entry of key=6 is the collection of the sub accounts of the parent named Motel 6 from the entry of key=2. And so forth. Note that there is no entry with key=3, for example, because the subaccount named Hyatt of the table of key=1 has no sub sub accounts.

Not shown in FIG. 5 are the columns of data extracted from the columns of the Tables of data from company A (FIG. 1A) and company B (FIG. 1B). An actual hash table will have an entry for each such column.

One embodiment, therefore, is a QB data aggregation system, having a web server connected to a network of computers having QB files. The QB files are stored in a database format at each computer. The web server has memory to store data obtained from the QB files. The web server also has a processor configured to process and aggregate the data of the various QB files. The processor is configured to identify like-named parent accounts of data from each computer. For each like-named parent account, the data of sub accounts of the parent accounts is aggregated. The aggregated data is stored in a hash table from which a report may be created to display the data according to parent account and sub account. Each entry of the hash table corresponds to data of a different-named parent account. An entry has a collection of rows for each sub account of a parent account, and has columns of aggregated data associated with each sub account. Each column may correspond to data associated with a time frame, for example, monthly data. The data may be an aggregate profit and loss table, for example, showing the aggregate profit and loss data for a plurality of companies. As another example, the aggregate data may be presented in a chart of accounts.

FIG. 6 depicts a flow chart for assigning IDs and creating hash tables. At 602, the system assigns an ID to each differently-named parent account. An entry in the hash table is created for each parent account ID, at 604. The contents of an entry has a collection of rows for each different sub account of the parent. The key of the entry is the parent account ID. IDs are also assigned to each sub account of a parent account, at 606. An entry in the hash table is created for each sub account ID, at 608, Each entry in a hash table for a sub account is a collection of rows which represent a different sub sub account of the sub account to which the collection is associated.

FIG. 7 depicts a flow chart for identifying and aggregating data of like-named accounts. At 702, like named parent accounts are identified. At 704, for each like-named parent account, like-named sub accounts of the like-named parent accounts are identified. At 706, data for each like-named sub account of each like-named parent account are aggregated. At 708 a report, such as the table of FIG. 1C, is created upon request by an authorized contributor or the system administrator.

An example of pseudo code for implementing the methods described herein is as follows:

For every account returned: If account is top-level parent, place in a separate collection Otherwise, place in the collection stored in the hash table at key of parent account ID For every parent in result: For every other parent in result: If name matches, combine parent accounts For every parent account that was combined: Get collection of children from hash table For every child of this parent: For every other child of this parent: If name matches, combine child accounts

The first loop, in C#, is a quick process because the loop does not perform a comparison of account IDs. Rather, the loop merely retrieves each account and checks if an account ID exists or not, which does not require subtraction. The subsequent loops in C# compares accounts against a sub set of accounts that only match parents. Only children that belong to parents that were combined will be compared. This is because if the parent accounts did not match, then children accounts will not match. This drastically reduces the number of comparisons that are required to aggregate the data. In contrast, using SQL requires a collection for every parent account, rather than merely every differently-named parent account. That is, even with the bulk operations that SQL can perform for locating matching children, it cannot perform bulk operations needed to recursively aggregate matching children; for this, CPU intensive custom looping would need to be performed. A reason that using C# is faster is that fewer comparisons need be made.

Another illustrative embodiment includes a machine-readable medium embodying machine-readable instructions that, when executed by a processor, cause the processor to obtain data from each of a plurality of computers in a network, the data being organized into one or more parent accounts. The processor is further caused by the instructions to aggregate the data from like-named parent accounts. The processor may further be caused to form a hash table with entries being a collection of sub accounts for each differently-named parent account, the collection including aggregate data associated with the parent account name In some embodiments, the processor is further caused to obtain data from each of the plurality of computers in the network, the data being organized into one or more sub accounts. The processor may further aggregate data of one or more like-named sub accounts of like-named parent accounts. The processor may also form an entry in the hash table for each differently-named sub account, the entry including aggregate data associated with the sub account name. An item in the collection is a row that has data associated with a sub sub account name. The process may continue further in like manner for sub sub accounts, and so forth.

Various changes, substitutions and alterations can be made to the embodiments described herein without departing from the scope of the appended claims. An embodiment may achieve multiple objectives, but not every embodiment falling within the scope of the attached claims will achieve every objective. Moreover, the scope of the present application is not intended to be limited to the particular embodiments of the process, machine, manufacture, composition of matter, means, methods and steps described in the specification. One of ordinary skill in the art will readily appreciate from this disclosure that processes, machines, manufacture, compositions of matter, means, methods, or steps, presently existing or later to be developed are equivalent to, and fall within the scope of what is claimed. Accordingly, the appended claims are intended to include within their scope such processes, machines, manufacture, compositions of matter, means, methods, or steps. 

1. A method of aggregating data from a plurality of QuickBooks (QB) files that may be in physically separate locations, and having at least one account name in common, the method comprising: assigning a different parent account identification (ID) number for each differently named parent account in the plurality of QuickBooks files; combine like-named sub account data of like named parent accounts under the same ID; and creating an entry in a hash table for each parent account ID, the contents of the entry being a collection of rows, a row for each different sub account of the parent account, the key of the entry in the hash table being the parent account ID.
 2. The method of claim 1, further comprising: assigning a different sub account ID number for each sub account in the parent account; and creating a hash table entry for each sub account, the contents of the hash table entry for a sub account including a collection of rows for each different sub sub account of the sub account, the key of the hash table being the sub account ID.
 3. The method of claim 2, further comprising aggregating the data of like-named sub sub accounts of like-named sub accounts for each parent account.
 4. The method of claim 3, further comprising aggregating the data of like-named sub accounts for each parent account.
 5. The method of claim 1, further comprising aggregating the data of like-named sub accounts for each parent account.
 6. The method of claim 3, further comprising displaying a graphical representation comprising the aggregated data associated with each sub sub account name for each sub account name and for each parent account name.
 7. The method of claim 5, further comprising displaying a table comprising the aggregated data associated with each sub account name for each parent account name.
 8. A QuickBooks (QB) data aggregation system, comprising: a web server connected to a network of computers having QB files, the QB files stored in a data base format at each computer; the web server having memory to store data obtained from the QB files of the computers and having a processor configured to: identify like-named parent accounts of data from each computer; for each like-named parent account, aggregate data of like-named sub accounts of the parent account from each computer; and store the aggregated data in a hash table, each entry in the hash table corresponding to data of a different-named sub account, each hash table entry having a collection of rows, a row for each sub account of the parent account, and having columns of data associated with each sub account.
 9. The system of claim 8, wherein the processor is further configured to: for each sub account name having sub sub accounts, aggregate data of like-named sub sub accounts of the sub account from each computer; and store the aggregated data of the sub sub accounts in a hash table, each hash table entry corresponding to data of a different-named sub account.
 10. The system of claim 8, wherein the processor is further configured to create a collection in the hash table of accounts and sub accounts, an item in the collection being a row corresponding to a different-named sub sub account of a sub account.
 11. The system of claim 10, wherein the data of the table has columns of data, a column corresponding to data associated with a time frame.
 12. The system of claim 8, wherein the processor is further configured to receive user input to select data to be displayed in tabular form.
 13. The system of claim 8, wherein the processor is further configured to create an aggregate profit and loss table that is populated with the aggregated data from a plurality of QB files.
 14. The system of claim 8, wherein the processor is further configured to create a table of aggregate expense data that is populated with aggregated expense data from the QB files of the computers.
 15. The system of claim 8, wherein the processor is further configured to create a chart of accounts based on the aggregated data.
 16. A tangible storage medium having instructions that when executed by a computer cause the computer to: obtain QuickBooks (QB) data from each of a plurality of computers in a network, the data being organized into one or more parent accounts; aggregate the data from like-named sub accounts for each parent account; and form a collection in a hash table for each differently-named parent account, an entry including aggregate data of like-named sub accounts associated with the parent account name.
 17. The tangible storage medium of claim 16, wherein an item in the collection is a row that has data associated with a sub account name.
 18. The tangible storage medium of claim 16, further having instructions that when executed by the computer cause the computer to: obtain data from each of the plurality of computers in the network, the data being organized into one or more sub accounts; aggregate data of one or more like-named sub accounts of like-named parent accounts; and form an entry in a hash table for each differently-named sub account, the entry being a collection of rows including aggregate data associated with the sub account name.
 19. The tangible storage medium of claim 18, wherein a row in a collection in the hash table has data associated with a sub sub account name.
 20. The tangible storage medium of claim 18, further having instructions that when executed by the computer cause the computer to: obtain data from each of the plurality of computers in the network, the data being organized into one or more sub sub accounts; aggregate data of one or more like-named sub sub accounts of like-named sub accounts; and form another entry in the hash table that is a collection of rows for each differently named sub sub account, the entry including aggregate data associated with the sub sub account name. 